import request from '@/utils/request'

/**
 * 闯关列表查询
 * @param {*} data
 */
export function queryRush(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/breakthroughDaily/query',
    method: 'post',
    data
  })
}

/**
 * 闯关排行
 * @param {*} data
 */
export function queryRushRank(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/breakthroughDaily/queryPageRankingList',
    method: 'post',
    data
  })
}
